import DkAppUserContent from '@/diy/components/my/DkAppUserContent.vue'
import DkAppUserHeader from '@/diy/components/my/DkAppUserHeader.vue'
import DkAppFundContent from '@/diy/components/fund/DkAppFundContent.vue'
import DkAppFundList from '@/diy/components/fund/DkAppFundList.vue'
import DkAppTitle from '@/diy/components/common/DkAppTitle.vue'
import DkCustomAwemeUserCard from '@/diy/components/common/DkCustomAwemeUserCard.vue'
import DkAppSearch from '@/diy/components/common/DkAppSearch.vue'
import DkAppGoldGrid from '@/diy/components/common/DkAppGoldGrid.vue'
import DkAppCategoryList from '@/diy/components/app/DkAppCategoryList.vue'
import DkAppTestList from '@/diy/components/app/DkAppTestList.vue'
import DkAppQuestionList from '@/diy/components/app/DkAppQuestionList.vue'
import DkAppWithdrawForm from '@/diy/components/common/DkAppWithdrawForm.vue'
import DkAppWallet from '@/diy/components/common/DkAppWallet.vue'
import DkAppWithdrawalList from '@/diy/components/common/DkAppWithdrawalList.vue'
import DkAppJoke from '@/diy/components/search/DkAppJoke.vue'
import DkAppCommonSearch from '@/diy/components/search/DkAppCommonSearch.vue'
import DkAppPhoneLocal from '@/diy/components/search/DkAppPhoneLocal.vue'
import DkAppBabyName from '@/diy/components/search/DkAppBabyName.vue'

const diys = [
  DkAppUserContent,
  DkAppUserHeader,
  DkAppFundContent,
  DkAppFundList,
  DkAppTestList,
  DkAppTitle,
  DkCustomAwemeUserCard,
  DkAppSearch,
  DkAppGoldGrid,
  DkAppQuestionList,
  DkAppCategoryList,
  DkAppWithdrawForm,
  DkAppWallet,
  DkAppWithdrawalList,
  DkAppJoke,
  DkAppPhoneLocal,
  DkAppCommonSearch,
  DkAppBabyName
]

export const install = (app) => {
  diys.forEach((item) => {
    app.component(item.name, item)
  })
}

export default {
  install
}
